package com.jdd.modules.parking.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jdd.modules.parking.entity.ParkCarOutEntranceRecord;
import com.jdd.modules.parking.vo.ParkCarOutEntranceRecordVO;
import com.jdd.modules.parking.vo.ParkOrderInfoSumVo;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 停车记录
 * @Author: jdd
 * @Date:   2022-05-28
 * @Version: V1.0
 */
public interface ParkCarOutEntranceRecordMapper extends BaseMapper<ParkCarOutEntranceRecord> {


    ParkOrderInfoSumVo getParkCarOutEntranceRecordSumInfo( ParkCarOutEntranceRecordVO parkCarOutEntranceRecordVO);

    List<ParkCarOutEntranceRecord> selectCarEnterIdList(String carEnterId);
    /**
     * @Description 根据主键修改同步状态
     * @author shangyue
     * @Date 2022-06-21
     * @param id
     * @param synchronousStatus
     * @return
     */
    void updateSynchronousStatus(@Param("id") String id,@Param("synchronousStatus") String synchronousStatus);
}
